<?php
/* @var $this SiteController */

$this->pageTitle=Yii::app()->name;
	Yii::app()->clientScript->registerCoreScript('jquery');
?>	
	<?php $this->widget('ext.FlexPictureSlider.FlexPictureSlider',
  array(
	    'imageBlockSelector' => '#myslider', //the jquery selector
	    'widthSlider' => '900', //or you can use jquery '$(window).width()/1.6',
	    'heightSlider' => '275', //or you can use jquery '$(window).height()/1.6',
	    'slideUnitSize' => 'px', //px or %
	    'timeBetweenChangeSlider' => 4000, //the time between displayed sliders in miliseconds
	    'timeDelayAnimation' => 1000, //the time before slider starts in miliseconds
	    'sliderStartFrom' => 0, //if sliderSuffle is set to true then sliderStartFrom is not nesessary
	    'sliderSuffle' => true, //suffle the pictures for random display
	   ));
	  ?>
	
	
	  <div id="myslider">
	  <?php
	  echo CHtml::image(Yii::app()->request->baseUrl . '/images/new logo.jpg', 'alt 1');
	  echo CHtml::image(Yii::app()->request->baseUrl . '/images/ama4.jpg', 'alt 2');
	  echo CHtml::image(Yii::app()->request->baseUrl . '/images/ama3.jpg', 'alt 3');
	  echo CHtml::image(Yii::app()->request->baseUrl . '/images/ama1.jpg', 'alt 4');
	  echo CHtml::image(Yii::app()->request->baseUrl . '/images/ama2.jpg', 'alt 5');
	  ?>
	  </div>
<?php $this->widget('bootstrap.widgets.TbButton', array(
    'label'=>'Primary',
    'type'=>'primary', // null, 'primary', 'info', 'success', 'warning', 'danger' or 'inverse'
    'size'=>'large', // null, 'large', 'small' or 'mini'
)); ?>
<tr align="center">

<center><h1>Welcome to <i><?php echo CHtml::encode(Yii::app()->name); ?></i></h1></center><br><br><br>

<center><p><b>Assisi Development Philosophy</b></center><br><br>
AMA Philippines is a community of men and women who have been under the AMA Volunteer Program as long term as short term volunteers. It is composed of college graduates and young professionals who have done volunteer work and continue being involved in service oriented projects in their respective communities. The community aims to provide a place for the young to natuure a love for service and volunteer work through transformative education. <br><br>
AMA Philippines has sponsored alumni batches of more than 365 young men and women from the Philippines, Japan, Europe, Australia and the Americas who have helped households and families , students, street children and children with special needs, youth groups, parishes, schools and development-oriented organization and communication all over the Philippines. 
</p></tr>
